home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Ver Disp 3.xpl < prev    next >
Text File  |  1999-09-08  |  1KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="2"
  4. "UIPATH"="System\Information"
  5. "NAME"="Microsoft Plus! Check"
  6. "VERSION"="1.15"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Plus! 95"
  9. "TEXT 2"="Plus! 98"
  10. "DESCRIPTION 1"="This plug-in displays if Plus! is installed or not."
  11. "DESCRIPTION 2"="You can't change anything!!!"
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  15. "COMMENT 2"="Thanks to CptSiskoX for his help!"
  16.  
  17.  
  18.  
  19. sV1="HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Plus!\DisplayName"
  20. sV1_C="Microsoft« Plus! for Windows« 95"
  21. sV2="HKLM\Software\Microsoft\Plus!98\Setup\Installed"
  22.  
  23.  
  24. Sub Plugin_Initialize 
  25. sT="Not installed"
  26. s=RegReadValue(sv1)
  27. If s=sV1_C then sT="Detected"  
  28. Call SetUIElement(1,sT)
  29.  
  30. sT="Not installed"
  31. s=RegReadValue(sv2)
  32. If s="1" then sT="Detected"  
  33. Call SetUIElement(2,sT)
  34.  
  35.  
  36. Call Disable 'user can't change anything!
  37. End Sub
  38.  
  39. Sub Plugin_CheckData(ElementIndex)
  40. End Sub
  41.  
  42. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  43. End Sub
  44.  
  45. Sub Plugin_Terminate 
  46. End Sub
  47.